<template>
  <div>
    <el-descriptions
      title="诊断信息"
      border
      :column="4"
      :labelStyle="{ width: '130px' }"
      direction="vertical"
    >
      <el-descriptions-item label="his诊断id">{{
        info.diagDr
      }}</el-descriptions-item>
      <el-descriptions-item label="诊断描述">{{
        info.diagnostic
      }}</el-descriptions-item>
      <el-descriptions-item label="ICD诊断名称">{{
        info.icdName
      }}</el-descriptions-item>
      <el-descriptions-item label="中医诊断">{{
        info.tcmName
      }}</el-descriptions-item>
    </el-descriptions>
  </div>
</template>

<script>
import { getDiagnosis } from "@/api/pr/basics";

export default {
  name: "Basics",
  dicts: ["yy_prescription_types", "yy_push_types", "yy_push_status"],
  data() {
    return { info: {} };
  },
  created() {},
  methods: {
    getdDetail(id) {
      getDiagnosis({
        basiceId: id,
      }).then((response) => {
        this.info = response.data;
      });
    },
  },
};
</script>
